<?php
/*
* Copyright (c) 2010 by Cediti
*
* You may distribute under the terms of either the GNU Lesser General
* Public License or the new BSD License, as specified in the README file.
*/
// created :    09/02/2010
// version :    02/04/2010

class Cmis_Client_Services_Generic_ACL extends Cmis_Services_Abstract implements Cmis_Services_ACL
{
    public function getACL($repositoryId, $objectId, $onlyBasicPermissions = true)
    {
//    	//This service MUST be supported by a repository, if getRepository returns capabilityACL=discover or =manage.
//        $object = $this->getServices()->getService('Object')->getObject($repositoryId, $objectId, null, null, false, null, true, false);
//        $object = $this->getObject($repositoryId, $objectId, null, null, false, null, false, true);
//        $acl = $object->getAllowableActions();
//        if (empty($acl))
//        {
////            $response = $this->getServices()->getProtocolService('Object')->getAllowableActions($repositoryId, $objectId);
////            $allowableActions = new Cmis_Repository_AllowableActions();
////            $allowableActions->setXmlResponse($response->toXml());
//        }
//        return $acl;
         die('-[Must be implemented : ' . __METHOD__ . ' (' . __FILE__ . '#' . __LINE__ . ')]-');
    }

    public function applyACL()
    {
         die('-[Must be implemented : ' . __METHOD__ . ' (' . __FILE__ . '#' . __LINE__ . ')]-');
    }
}

# EOF
